home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Bus / A / AciusTN8-92.cpt / AciusTN8-92 / GraphicalButtonsƒ / ButtonPkg-US / ButtonPackage.Ext.rsrc / 4Dte_26008 < prev    next >
Text File  |  1992-10-10  |  708b  |  17 lines

  1. This procedure sets the title, the font, the size and the style of the text of the button.
  2. By default, the title is external area name without the first letter, in Chicago 12, plain. 
  3. The parameters are :
  4. - External area name
  5. - Title of the button
  6. - Font number
  7. - Size
  8. - Style
  9. The font number may be returned by bp_FontNumber(TheFontName).
  10.  
  11. Example :
  12. bp_SET TITLE (Area;"OK";21;18;1)
  13. Set Title of Area in "OK", with font number 21 (Helvetica), in size 18 and with style 1 (bold)
  14.  
  15. Note : If you pass -1 in one of the parameters font, size or style, the previous value will be kept.
  16.  
  17. Written by François Marchal, © ACI 1991. Source Code in MPW Pascal and complete explanations in ACI Technical Note 23, May 91